<seed-content #content class="default-bg">
  <seed-toolbar-header>
    <seed-toolbar-title>支付订单</seed-toolbar-title>
    <seed-toolbar-menu></seed-toolbar-menu>
  </seed-toolbar-header>

  <div class="icon-tips" ><!--*ngIf="params['tradeStatus'] == 2 || orderInfo.status == 2"-->
    <img [src]="imageUtil.iconsPath + 'pay_success.png'">
    <p class="msg-success">订单提交成功</p>
    <P>请在 {{times.minute}}分{{times.second}}秒 内完成支付</P>
  </div>

  <div class="payment-content" >
    <p class="payment-goods-name">{{orderInfo.remarks}}</p>
    <p>订单金额：<span>￥{{orderInfo.total | Price}}</span></p>
  </div>
  <div class="payment-type">
    <p class="type-title">选择支付方式</p>
    <div *ngIf="!toolsService.ua().isWeixin" class="type-item" (click)="handleChangePayType(0)">
      <p class="icon">
        <img [src]="imageUtil.iconsPath + 'ali-pay.png'">
      </p>
      <p class="word">支付宝支付</p>
      <p class="icon-type" [ngClass]="{'active': payType === 0 }" ></p>
    </div>
    <div class="type-item" (click)="handleChangePayType(wechatType)">
      <p class="icon">
        <img [src]="imageUtil.iconsPath + 'weixin_pay.png'">
      </p>
      <p class="word">微信支付</p>
      <p class="icon-type" [ngClass]="{'active': payType === 1 ||  payType === 2 }" ></p>
    </div>
  </div>
  <iframe #payment class="hide"></iframe>
</seed-content>
<!--支付确认-->
<div class="btn-wrap-payment"   id="btn-wrap" >
  <!--<p class="tips1">请下载求苗APP查看该笔订单</p>-->
  <div class="sub-btn">
    <button  (click)="handlePayment($event)">
      确认支付
    </button>
  </div>
</div>
